package com.ruoyi.dm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 采集模块 空间环境观测
 */
@Data
@ApiModel("空间环境观测vo")
public class EnvCollectVO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String fileName;

    @ApiModelProperty(value = "地磁辐射指数")
    private String dateType;

    @ApiModelProperty(value = "最新数据")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date fileDate;

    @ApiModelProperty(value  ="尺寸",example = "1 KB")
    private String size;

    @ApiModelProperty(value = "上传时间",example="2022-01-01 00:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date uploadTime;


    @ApiModelProperty(value  = "0异常 1待解析 2 完成")
    private String status;

    @ApiModelProperty(value = "文件描述")
    private String desc;

}
